package com.zkc.springbootnew.service;

import com.zkc.springbootnew.bean.Contact_user;

import java.util.List;

public interface userservice {


    /*显示全部用户*/
    public List<Contact_user> userAll () throws Exception;


    /*修改的单个查询*/
    public Contact_user usersingle(Integer id) throws Exception;


    /*用户修改*/
    public Integer usermodify(Contact_user contact_user) throws Exception;

    /*用户删除*/
    public Integer userdelete(Integer xid) throws Exception;

    /*用户添加*/
    public Integer UserAdd(Contact_user contact_user) throws Exception;

    /*更具用户输入的用户名进行单个查询*/
    public Contact_user UserLogin(String ContactAlias) throws Exception;





}
